﻿<%@ page title="" language="C#" masterpagefile="~/Page/MasterPage.master" autoeventwireup="true" inherits="Page_Register_RegisterOfEnterprise, App_Web_editprofileenterprise.aspx.fe9698b1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../../CSS/PageStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="FrameStyle">
        <div class="PageTitleStyle">
            <asp:Image ID="bgpicRegisterEnterpriseTop" runat="server" 
                ImageUrl="~/Images/EditProfile/bgpicEditProfileTop.png" />
        </div>
        <div id="EditProfile">
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <table cellspacing="6" class="TableStyle">
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Enterprise Name:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtEditProfileEnterpriseEnterpriseName" 
                                Width="265px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEditProfileEnterpriseEnterpriseName" 
                                runat="server" ControlToValidate="txtEditProfileEnterpriseEnterpriseName" 
                                CssClass="ValidatorStyle" ErrorMessage="Required."></asp:RequiredFieldValidator>
&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Phone:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtEditProfileEnterprisePhone" Width="265px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                ControlToValidate="txtEditProfileEnterprisePhone" Display="Dynamic" 
                                ErrorMessage="Wrong phone number type!" 
                                ValidationExpression="[1][3-8]\d{9}" CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="EditProfileEnterprisePhone" runat="server" 
                                ControlToValidate="txtEditProfileEnterprisePhone" CssClass="ValidatorStyle" 
                                ErrorMessage="Required."></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Address:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtEditProfileEnterpriseAddress" Width="265px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEditProfileEnterpriseAddress" runat="server" 
                                ControlToValidate="txtEditProfileEnterpriseAddress" CssClass="ValidatorStyle" 
                                ErrorMessage="Required."></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            City:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtEditProfileEnterpriseCity" Width="265px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEditProfileEnterpriseCity" runat="server" 
                                ControlToValidate="txtEditProfileEnterpriseCity" CssClass="ValidatorStyle" 
                                ErrorMessage="Required."></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            State / Province:
                        </td>
                        <td>
                            <asp:DropDownList ID="listEditProfileEnterpriseState_Province" runat="server" Width="268px"
                                Font-Names="Times New Roman" CssClass="DropDownListStyle">
                                <asp:ListItem>California</asp:ListItem>
                                <asp:ListItem>Colorado</asp:ListItem>
                                <asp:ListItem>Hawaii</asp:ListItem>
                                <asp:ListItem>Louisiana</asp:ListItem>
                                <asp:ListItem>Massachusetts</asp:ListItem>
                                <asp:ListItem>Nevada</asp:ListItem>
                                <asp:ListItem>New Jersey</asp:ListItem>
                                <asp:ListItem>Virginia</asp:ListItem>
                                <asp:ListItem>Washington</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Postal Code:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtEditProfileEnterprisePostalCode" 
                                Width="265px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="revEditProfileEnterprisePostalCode" runat="server" 
                                ControlToValidate="txtEditProfileEnterprisePostalCode" Display="Dynamic" 
                                ErrorMessage="Wrong postal code type!" 
                                ValidationExpression="[1-9]\d{5}(?!\d)" CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEditProfileEnterprisePostalCode" 
                                runat="server" ControlToValidate="txtEditProfileEnterprisePostalCode" 
                                CssClass="ValidatorStyle" ErrorMessage="Required."></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Enterprise Type:
                        </td>
                        <td>
                            <asp:DropDownList ID="listEditProfileEnterpriseEnterpriseType" runat="server" Width="268px"
                                CssClass="DropDownListStyle" Font-Names="Times New Roman">
                                <asp:ListItem>Advertising Industry</asp:ListItem>
                                <asp:ListItem>Building Industry</asp:ListItem>
                                <asp:ListItem>Clothing Industry</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" valign="top" width="150">
                            Introduce:
                        </td>
                        <td>
                            <asp:TextBox ID="txtEditProfileEnterpriseIntroduce" runat="server" 
                                CssClass="TextboxStyle" Height="100px" TextMode="MultiLine" Width="265px"></asp:TextBox>
                        </td>
                        <td valign="top">
                            <asp:RequiredFieldValidator ID="rfvEditProfileEnterpriseIntroduce" 
                                runat="server" ControlToValidate="listEditProfileEnterpriseEnterpriseType" 
                                CssClass="ValidatorStyle" ErrorMessage="Required."></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="bgBottom">
            </div>
        </div>
        <div class="ButtonAndBlankStyle">
            <table>
                <tr>
                    <td width="360px" style="width: 445px">
                    </td>
                    <td width="85px">
                        <asp:ImageButton ID="btnEditProfileEnterpriseSubmit" runat="server" 
                            ImageUrl="~/Images/btnPublicSubmit.png" 
                            onclick="btnEditProfileEnterpriseSubmit_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
